Re: Postgres and Perl: Which DBI module?
От | Phil Dobbin |
---|---|
Тема | Re: Postgres and Perl: Which DBI module? |
Дата | |
Msg-id | r01050300-1015-46E17A96A62B11D6B2790003930DCC6E@[10.0.0.2] обсуждение исходный текст |
Ответ на | Postgres and Perl: Which DBI module? (jgdon <REMOVEjgdon@ureach.comREMOVE>) |
Список | pgsql-general |
On 2/8/02 at 10:00, smvfp@mail.smvfp.com (Leland F. Jackson, CPA) wrote: > Hi Phil, [snip] > If you already have Pg.pm on your system, which I suspect that you do, > then > it is a matter of refering to it correctly in your perl script or you > could > copy Pg.pm to a driectory included in the @INC array. There is no DBD::Pg @INC. I checked: `perl MDBD::Pg -e l' which returned the usual 'can't locate...'. > I hope I havn't confused you Not at all. Thanks for your input :-) Perl's my strong suit, it's Postgres that I'm new at ;-) I'm running Perl 5.8.0 on Mac OS X 10.1.5 which required a lot of modules to be re-installed for 5.8.0 to install. So, I'min the middle of swapping from MySQL -> PostgreSQL and having recompile Perl mods too. Regards, Phil. > ----- Original Message ----- > From: "Phil Dobbin" <phildobbin@pobox.com> > To: "Francois Suter" <dba@paragraf.ch> > Cc: <pgsql-general@postgresql.org> > Sent: Friday, August 02, 2002 9:18 AM > Subject: Re: [GENERAL] Postgres and Perl: Which DBI module? > > > > On 29/7/02 at 14:48, dba@paragraf.ch (Francois Suter) wrote: > > > > > > hello, > > > > > > > > I just managed to get a simple database running with postgresql. > > > > > > > > Now I would like to write some CGI scripts in perl that will be > able > > > to > > > > use it. > > > > > > > > What perl module should I use for this? > > > > > > I succesfully used the module called Pg: > > > > I d/l'd DBD::Pg using CPAN but the Makefile.PL complained that the > env > vars `POSTGRES_INCLUDE' and `POSTGRES_LIB' couldn't be found so that > `libq.so' couldn't be located. > > > > Are `POSTGRES_INCLUDE' and `POSTGRES_LIB' set in your $PATH? > > > > Any ideas appreciated :-) > > > > Regards, > > > > Phil. > > > > ---------------------------(end of > broadcast)--------------------------- > > TIP 1: subscribe and unsubscribe commands go to > majordomo@postgresql.org >
В списке pgsql-general по дате отправления: